//
//  NickNamecell.m
//  Shengzhuli
//
//  Created by 卡忙科技 on 16/8/18.
//  Copyright © 2016年 kamangkeji. All rights reserved.
//

#import "NickNamecell.h"

@interface NickNamecell()<UITextFieldDelegate>

@property (weak, nonatomic) IBOutlet UITextField *nickField;

@end
@implementation NickNamecell
- (void)awakeFromNib
{
    [super awakeFromNib];
}
- (IBAction)textChanged:(UITextField *)field
{
    self.info.nickName = field.text;
}
- (void)setInfo:(PersonInfo *)info
{
    _info = info;
    self.nickField.text = info.nickName;
}


@end
